package com.dylan.springcloud.consumerservice.service.impl;

import com.dylan.springcloud.consumerservice.service.UserService;
import org.springframework.stereotype.Component;

/**
 * Created by Dylan on 2018/10/18.
 */
@Component
public class UserServiceFallback implements UserService {
    @Override
    public String getUser(String username) {
        return "客户端异常了";
    }
}
